/*
author:  陈楚城
create:  2019.4.28
description：宿舍楼信息的实体类
*/
package edu.uni.dormitory.bean;

import java.util.Date;
/*
宿舍楼表的实体类
 */
public class LiveArea {
    //数据表唯一编号ID
    private Long id;
    //宿舍区域ID
    private Long areaId;

    //宿舍楼类型 0：男 1：女
    private Byte type;
    //本记录创建时间
    private Date datetime;
    //创建人
    private Long byWho;
    //本记录是否有效 0：有效 1：无效
    private Long deleted;

    @Override
    public String toString() {
        return "LiveArea{" +
                "id=" + id +
                ", areaId=" + areaId +
                ", type=" + type +
                ", datetime=" + datetime +
                ", byWho=" + byWho +
                ", deleted=" + deleted +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Long getByWho() {
        return byWho;
    }

    public void setByWho(Long byWho) {
        this.byWho = byWho;
    }

    public Long getDeleted() {
        return deleted;
    }

    public void setDeleted(Long deleted) {
        this.deleted = deleted;
    }
}